package com.anysoft;

import com.anysoft.user.EditUserPwdActivity;
import com.anysoft.user.FeedBackActivity;
import com.anysoft.user.UserInfoEditActivity;
import com.anysoft.user.UserSettingActivity;
import com.anysoft.user.bankcard.AddBankCardActivity;
import com.anysoft.user.bankcard.BankCardManagerActivity;
import com.anysoft.user.bankcard.EditMobileActivity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wwq on 2016/12/7.
 */

public class MentorConst {

    public static final int GESTURE_OR_FINGERPRINT_FAIL_TIMES = 3;
    public static final String SERVER_BUSY_TIP = "服务器忙，请稍后再试_";
    public static final String NO_NETWORK_TIP = "网络不可用，请检查后重试！";
    public static final String TIMEOUT_TIP = "超时请重新登录";
    public static final String TIMEOUT_CODE = "1036";
    public static final String TIMEOUT_CODE_DS = "DS1036";
    public static final String RISK_LEVE_OVERDUE_CODE = "9527";//风险评测过期
    public static final String SUPPORT_FINGER_PRINT_MODEL = "HUAWEI";
    public static final String CUSTOMER_SERVICE_TELEPHONE_NUMBERS = "tel:4008119999";
    public static final String FIRST_CUSTOMER = "此银行卡非1类账户，不能开户。";
    public static final String NOT_SHOW_ACCOUNT_STR = "****";
    public static final String LOGIN_REAL_NAME = "login_realname"; //登录姓名加密key
    public static final String LOGIN_IDENTITYNO = "login_identityno";//登录身份证号加密key
    public static final String LOGIN_FUND_CUSTOMERNO = "login_fundno";//登录基金号加密key
    /**
     * 已读公告did
     */
    public static final String READ_ANNOUNCEMET_ID = "ReadAnnouncemetId";
    /**
     * 最新版本号
     */
    public static final String NEW_VERSION_NO = "NewVersionNo";
    /**
     * webview缓存
     */
    public static final String APP_CACAHE_DIRNAME = "/icbcFundWebcache";

    /**
     * 手机号的验证的正则
     */
    public final static String REGEX_MOBILE = "^[1]\\d{10}$";
//    /**
//     * 是否打开指纹密码
//     */
//    public static final String IS_GESTURE_PASSWORD_OPEN = "isGesturePasswordOpen";
//    /**
//     * 是否打开手势密码
//     */
//    public static final String IS_FINGER_PRINT_OPEN = "isFingerPrintOpen";
    /**
     * 是否是第一次进入应用
     */
    public static final String IS_FIRST_COME = "isFirstCome";
    /**
     * 获取密码
     */
    public static final String GET_PASSWORD = "getPassword";
    /**
     * 获取密码
     */
    public static final String GET_USERBEAN = "getUserBean";
    /**
     * 获取密码
     */
    public static final String IS_SHOW_SKIP = "isShowSkip";
    /**
     * 手势密码密码
     */
    public static final String SET_GESTURE_PASSWORD = "setGesturePassword";
    /**
     * 获取最后一次登录用户id
     */
    public static final String LAST_LOGIN_USER_ID = "lastLoginUserId";
    /**
     * 是否是手势密码登陆错误或者忘记手势密码
     */
    public static final String IS_FROM_GESTURE = "isFromGestureActivity";
    /**
     * 是否是修改手势密码
     */
    public static final String IS_CHANGE_GESTURE_PWD = "isChangeGesturePwd";

    /**
     * 服务器异常
     */
    public static final String INTERNET_ERROR = "服务器异常，请稍后再试";

    /**
     * json解析错误
     */
    public static final String JSON_ERROR = "数据解析异常，请联系管理员";
    /**
     * 账户锁定
     */
    public static final String ACCOUNT_LOCKOUT = "DSSYSTEM.SECURITY.0006";
    /**
     * 手机白名单
     */
    public static final String MOBILE_WHITE = "mobileWhite";


    public enum DateType {
        ALL, YEAR_MONTH_DAY, HOURS_MINS, MONTH_DAY_HOUR_MIN, YEAR_MONTH, YEAR
    }// 四种选择模式，年月日时分，年月日，时分，月日时分

    public static List<String> listClassName = new ArrayList<String>();

    static {
        listClassName.add(BankCardManagerActivity.class.toString());
        listClassName.add(AddBankCardActivity.class.toString());
        listClassName.add(EditMobileActivity.class.toString());
        listClassName.add(EditUserPwdActivity.class.toString());
        listClassName.add(FeedBackActivity.class.toString());
        listClassName.add(UserInfoEditActivity.class.toString());
        listClassName.add(UserSettingActivity.class.toString());
    }
}
